home *** CD-ROM | disk | FTP | other *** search
/ 600 Games / 600games.iso / Classicos / MiniclipsTetris.swf / scripts / DefineButton2_96 / BUTTONCONDACTION on(keyPress Space).as < prev    next >
Encoding:
Text File  |  2005-08-04  |  231 b   |  11 lines

  1. on(keyPress "<Space>"){
  2.    if(!(!gameRunning and !gamePaused and !Misc.running))
  3.    {
  4.       if(gameRunning and !gamePaused)
  5.       {
  6.          Sounds.gotoAndPlay("QuickDrop");
  7.          GamePiece.quickDrop();
  8.       }
  9.    }
  10. }
  11.